$(function() {
	// Regular Image Flip:
	$('#regular_example img').imgflip();

	// Form Input Image Flip:
	$('#form_example input').imgflip();

	// Image Flip With Selector On Parent:
	$('#anchor_example img').imgflip();

	// Image Flip With Selector On Parent:
	$('#parent_example').imgflip();

	// Image Flip With Selector On Parent:
	$('#active_example img').imgflip();

	//PNG Image Flip (uses pngfix plugin):
		// Note: for this to function properly in ie6 the flip needs to be called before the fix
	$('#png_example img').imgflip();
	if ( $.browser.msie && $.pngfix ) $('img, input').pngfix({spacer: 'images/spacer.gif'});

	// Flips And Dropdowns:
	$('#dropdown_example').dropdown('mouseover');
	$('#dropdown_example li').dropdown({trigger: 'mouseover', direction: 'right'});
	$('#dropdown_example, #dropdown_example li').imgflip();
});
